//
//  LTMessageVideoBody.h
//  LTIM
//
//  Created by 俊松何 on 2017/4/13.
//  Copyright © 2017年 俊松何. All rights reserved.
//

#import "LTMessageBody.h"
#import <UIKit/UIKit.h>
@interface LTMessageVideoBody : LTMessageBody

@property (nonatomic, copy) NSString *localvideoPath;

@property (nonatomic, copy) NSString *remotevideoPath;

@property (nonatomic, copy) NSString *localvideoCoverPath;

@property (nonatomic, copy) NSString *remotevideoCoverPath;

@property (nonatomic, assign) CGFloat coverH;

@property (nonatomic, assign) CGFloat coverW;


//@property (nonatomic, copy) NSString *coverName;
//
//@property (nonatomic, copy) NSString *videoName;


@property(nonatomic,copy)  NSString *videoLocalrelativePath;

@property(nonatomic,copy)  NSString *coverLocalrelativePath;

@property (nonatomic) LTDownloadStatus videodownloadStatus;

@property (nonatomic) LTDownloadStatus thumbnaildownloadStatus;

@property (nonatomic, strong) LTFileTokenModel *coverossModel;

@property (nonatomic, strong) LTFileTokenModel *videoossModel;

- (instancetype)initWithVideoData:(NSData *)aData
                       coverImage:(UIImage *)coverimage
                         duration:(NSInteger)duration;

-(void)saveCoverimageData:(NSData *)data;

-(void)saveVideoData:(NSData *)data;

@end
